<?php

	class Setting extends CI_Model
	{
		public function __construct()
		{
			parent::__construct();
		}

		public function getCompany()
		{
			$query = $this->db->get('settings');
			return $query->row_array();
		}

		function updateSetting($data,$id)
		{
			$this->db->where('id',$id);
			return $this->db->update('settings',$data);
		}
	}